package com.example.smartcity.api;

import com.example.smartcity.model.LoginResp;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface ApiService {
    @FormUrlEncoded
    @POST("login")
    Call<LoginResp> login(
            @Field("username") String username,
            @Field("password") String password
    );
}